NDepend.API Documentation
ToMinutes(Nullable<Byte>) Method
NDepend.Helpers Namespace > ExtensionMethodsTimeSpan Class > ToMinutes Method : ToMinutes(Nullable<Byte>) Method
The number of minutes.
Gets a System.TimeSpan value, with total number of minutes equals to nullableNbMinutes. if nullableNbMinutes is null, System.TimeSpan.System.TimeSpan.Zero is returned.
Syntax
[Extension()]
public static TimeSpan ToMinutes( 
   Nullable<byte> nullableNbMinutes
)

Parameters

nullableNbMinutes
The number of minutes.
Remarks
if nullableNbMinutes is null, System.TimeSpan.System.TimeSpan.Zero is returned.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsTimeSpan Class
ExtensionMethodsTimeSpan Members
Overload List